﻿/*版权声明
 * 
 * 本 WebName:IMIS_ERP 由
 * 河北大学 信管团队 开发
 * 如有任何疑问请联系开发人员
 * 
 * 项目开发者
 * 负责人：朱胜贤
 * 成员：水亚亚、孙旭峰、张文元、项玥、吕芳、吴凡、谢静、李亚慧
 * 
 * 如有任何疑问请联系：河北大学信管团队
 * QQ：196396337
 * Email:zagelover@163.com
 * HomePage：http://sxgzs.com/
 * 
 * CopyRight (c) 河北大学信管团队 2010~2020
 */

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace IMIS_ERP.Web.Factory_People
{
    public partial class Show_Me : Page
    {
        public string id = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {

                string fpID = Session["UId"].ToString();
                    ShowInfo(fpID);
            
            }
        }

        /// <summary>绑定数据：详细信息
        ///     <remarks>2010-12-08 河大信管团队</remarks>
        /// </summary>
        /// <param name="fpID">编号</param>
        private void ShowInfo(string fpID)
        {
            IMIS_ERP.BLL.Factory_People bll = new IMIS_ERP.BLL.Factory_People();
            IMIS_ERP.Model.Factory_People model = bll.GetModel(fpID);
            IMIS_ERP.BLL.Factory_Info bll2 = new BLL.Factory_Info();
            this.lblfpID.Text = model.fpID;
            this.lblfpName.Text = model.fpName;
            // fixed 2010 12 15 不显示用户密码
            //this.lblfpPwd.Text = model.fpPwd;
            this.lblfpContacts.Text = model.fpContacts;
            // fixed 2010 12 15 员工类型
            this.lblfpType.Text = model.fpType.ToString();
            this.lblfpFiID.Text = bll2.GetModel(model.fpFiID).fiName;
            this.lblfpInfo.Text = model.fpInfo;

        }


    }
}
